class AddUserToRidesRoutesAndBikes < ActiveRecord::Migration
  def self.up
    execute "ALTER TABLE rides ADD COLUMN user_id int( 11 ) NOT NULL AFTER bike_id"
    execute "ALTER TABLE routes ADD COLUMN user_id int( 11 ) NOT NULL AFTER description"
    execute "ALTER TABLE bikes ADD COLUMN user_id int( 11 ) NOT NULL AFTER description"
  end

  def self.down
  end
end
